package com.wanmei.pojo;

/**
 * 返回结果处理类
 */
public class Result {
    private int code;// 0表示成功，1表示失败
    private String msg;// 返回消息
    private Object data;// 返回数据
    private int count;// 返回的数据条数（可选）

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
